package com.sitech.ibnms.c3p.form;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/9/19.
 */
public class TextDiff implements Serializable {
    private String oldText;
    private String newText;
    private String key;
    private boolean isSame;
    private boolean isUsed=false;
    private int beginNo;
    private int endNo;
    private List<String> newTextList=new ArrayList<String>();
    public String getOldText() {
        return oldText;
    }

    public void setOldText(String oldText) {
        this.oldText = oldText;
    }

    public String getNewText() {
        return newText;
    }

    public void setNewText(String newText) {
        this.newText = newText;
    }

    public List<String> getNewTextList() {
        return newTextList;
    }

    public void setNewTextList(List<String> newTextList) {
        this.newTextList = newTextList;
    }

    public boolean isSame() {
        return isSame;
    }

    public void setSame(boolean same) {
        isSame = same;
    }

    public TextDiff(String oldText, String newText, boolean isSame, int beginNo, int endNo) {
        this.oldText = oldText;
        this.newText = newText;
        this.isSame = isSame;
        this.beginNo = beginNo;
        this.endNo = endNo;
    }

    public boolean isUsed() {
        return isUsed;
    }

    public void setUsed(boolean used) {
        isUsed = used;
    }

    public int getBeginNo() {
        return beginNo;
    }

    public void setBeginNo(int beginNo) {
        this.beginNo = beginNo;
    }

    public int getEndNo() {
        return endNo;
    }

    public void setEndNo(int endNo) {
        this.endNo = endNo;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

}
